package com.example.poemtest.index.entity;

import java.util.Date;

/**
 * created by JHT on 2024/4/9
 * 灵感创作的实体类
 */
public class WritePoetry {
    //题目
    private String poetryTitle;
    //作者
    private String poetryAuther;
    //内容
    private String poetryContent;
    //创作时间
    private Date writeDate;
    //最后一次修改时间
    private Date reviseDate;

    public String getPoetryTitle() {
        return poetryTitle;
    }

    public void setPoetryTitle(String poetryTitle) {
        this.poetryTitle = poetryTitle;
    }

    public String getPoetryAuther() {
        return poetryAuther;
    }

    public void setPoetryAuther(String poetryAuther) {
        this.poetryAuther = poetryAuther;
    }

    public String getPoetryContent() {
        return poetryContent;
    }

    public void setPoetryContent(String poetryContent) {
        this.poetryContent = poetryContent;
    }

    public Date getWriteDate() {
        return writeDate;
    }

    public void setWriteDate(Date writeDate) {
        this.writeDate = writeDate;
    }

    public Date getReviseDate() {
        return reviseDate;
    }

    public void setReviseDate(Date reviseDate) {
        this.reviseDate = reviseDate;
    }

    @Override
    public String toString() {
        return "WritePoetry{" +
                "poetryTitle='" + poetryTitle + '\'' +
                ", poetryAuther='" + poetryAuther + '\'' +
                ", poetryContent='" + poetryContent + '\'' +
                ", writeDate=" + writeDate +
                ", reviseDate=" + reviseDate +
                '}';
    }
}
